{% extends 'index.html' %}
{% block title %}文章页面 | {{ post.title }}{% endblock %}
{% block content %}
        <section class="post">
          <header class="entry-header">
            <img class="entry-avatar" alt="Paul Laros" height="52" width="52" src="http://127.0.0.1/{{ post.author.head_img }}">
            <h2 class="entry-title">{{ post.title }}</h2>
            <p class="entry-meta">
                <span>发布于</span>
                <span><a class="entry-date" href="http://paullaros.bitbucket.org/von/date.html">{{ post.published_date|date:"Y-m-d H:i:s" }}</a></span>
                <span><a class="entry-author" href="http://paullaros.bitbucket.org/von/author.html">{{ post.author.name }}</a></span>
                <span>标签</span>
                <span><a class="label label-danger" href="http://paullaros.bitbucket.org/von/tag.html">CSS3</a></span>
            </p>
          </header>
          <div class="entry-description">
            {{ post.content|safe }}
        </section>

        <div class="comments">
          <div id="disqus_thread"><iframe id="dsq-app2" name="dsq-app2" allowtransparency="true" frameborder="0" scrolling="no" tabindex="0" title="Disqus" width="100%" src="./post_files/saved_resource.html" style="width: 1px !important; min-width: 100% !important; border: none !important; overflow: hidden !important; height: 321px !important;" horizontalscrolling="no" verticalscrolling="no"></iframe></div>
          <script type="text/javascript">
              var disqus_shortname = 'von-bootstrap'; // required: replace example with your forum shortname

              /*** Don't edit below this line ***/
              (function() {
                  var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
                  dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
                  (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
              })();
          </script>
          <noscript>Please enable JavaScript to view the &lt;a href="http://disqus.com/?ref_noscript"&gt;comments powered by Disqus.&lt;/a&gt;</noscript>

        </div>
{% endblock %}